package com.sunseagear.wind.modules.test.treeTable.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sunseagear.common.base.mvc.entity.TreeEntity;
import lombok.Data;
import java.util.Date;

/**
 * All rights Reserved
 *
 * @version V1.0
 * @package test.treeTable
 * @title: 树表实体类
 * @description: 树表实体类
 * @author:
 * @date: 2025-02-04 12:24:14
 * @copyright: All rights reserved.
 */
@Data
@TableName("test_tree_table")
@SuppressWarnings("serial")
public class TreeTable extends TreeEntity<Long> {

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 名称
     */
    @TableField(value = "name")
    protected String name;

    /**
     * 地理编码
     */
    @TableField(value = "geocoding")
    private String geocoding;

    /**
     * 邮政编码
     */
    @TableField(value = "postal_code")
    private String postalCode;

}
